package com.system.coupon.feign;

import com.system.coupon.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "order")
@Component
public interface ProductOrderFeignSerivce {


    /**
     * 查询订单状态
     * @param outTradeNo
     * @return
     */
    @GetMapping("/order/query_state")
    JsonData queryProductOrderState(@RequestParam("out_trade_no")String outTradeNo);


}
